﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Member/Member.master" AutoEventWireup="true" CodeBehind="UserList.aspx.cs" Inherits="StockPoint.Admin.Member.UserList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
<script type="text/javascript">

    function Paging(Page) {
        $get("hfPage").value = Page;
        $get("btnPageAction").click();
    }

</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContents" runat="server">

<!-- OUTPUT_SCREEN -->
<div class="output_screen">
	<div class="title_area"><p>결제 내역</p></div>
	<div class="border_deep"></div>

	<!-- 조건검색하기 -->
	<div class="option_style1">
        <div class="option_title"><p>조건검색하기</p></div>
		<div class="option_detail">
			<div class="row">
                <div class="field">가입일</div>
                <div class="value">
                    <asp:TextBox ID="tbSStart" runat="server" CssClass="ctrl_textbox_style1" Width="80px" />
                    <asp:ImageButton ID="ibSStartPop" runat="server" ImageUrl="/Images/common/list_icon_celender.gif" />
                    <ajax:CalendarExtender ID="ceStart" runat="server" TargetControlID="tbSStart" PopupButtonID="ibSStartPop" />
                    <ajax:TextBoxWatermarkExtender ID="tbweStart" runat="server" TargetControlID="tbSStart" WatermarkText="yyyy-mm-dd" />
					<span>~</span>
                    <asp:TextBox ID="tbSEnd" runat="server" CssClass="ctrl_textbox_style1" Width="80px" />
                    <asp:ImageButton ID="ibSEndPop" runat="server" ImageUrl="/Images/common/list_icon_celender.gif" />
                    <ajax:CalendarExtender ID="ceEnd" runat="server" TargetControlID="tbSEnd" PopupButtonID="ibSEndPop" />
                    <ajax:TextBoxWatermarkExtender ID="tbweEnd" runat="server" TargetControlID="tbSEnd" WatermarkText="yyyy-mm-dd" />
				</div>
                <div class="field">Email</div>
                <div class="value"><asp:TextBox ID="txtSEmail" runat="server" CssClass="ctrl_textbox_style1" Width="100px" /></div>
                <asp:Button ID="btnSearch" runat="server" Text="검색" onclick="btnSearch_Click" class="ctrl_blue28"/>
			</div>        
		</div>
	</div>
	<!-- //조건검색하기 -->
	<div class="border_deep"></div>

	<!-- 기능 -->
	<div class="function_area">
        <div class="right">
            <div class="text">검색결과 : <asp:Label ID="lblCount" runat="server" /></div>
        </div>
	</div>
	<!-- //기능 -->
	<div class="border_deep"></div>

	<!-- 리스트 -->
	<div class="list_style1">
        <table cellpadding="0" cellspacing="0">
            <thead>
			<tr>
				<th style="width: 80px">Index</th>
				<th style="width: 80px">닉네임</th>
				<th style="width: 100px">이메일</th>
				<th style="width: 100px">휴대전화</th>
                <th style="width: 120px">포인트</th>
                <th style="width: 100px">구분</th>
                <th style="width: 160px;">등록일</th>
				<th></th>
			</tr>
            </thead>
			<tbody>
            <asp:Repeater ID="rptList" runat="server">
            <ItemTemplate>
			<tr>
                <td><b><a href="UserDetail.aspx?IDX=<%#Eval("UserIdx")%>"><%#Eval("UserIdx")%></a></b></td>
                <td><%#Eval("NickName")%></td>
                <td><%#Eval("Email")%></td>
                <td><%#Eval("Phone")%></td>
                <td><%#Eval("TotalPoint")%></td>
                <td><%# StockPoint.SPCode.GetCodeName(StockPoint.CodeType.UserType, Eval("UserType"))%></td>
				<td><%# String.Format("{0:yyyy-MM-dd}", Eval("RegDT")) %></td> 
                <td></td>
			</tr>
            </ItemTemplate>
            </asp:Repeater>
			</tbody>
		</table>
	</div>
	<!-- //리스트 -->

	<!-- 페이징 -->
    <div class="paging_area">
        <asp:Label ID="lblPaging" runat="server" />
    </div>
</div>
<!-- //OUTPUT_SCREEN -->

<asp:HiddenField ID="hfPage" runat="server" ClientIDMode="Static" />
<asp:HiddenField ID="hfTotalRecord" runat="server" ClientIDMode="Static" Visible="false" />
<div style="display: none"><asp:Button ID="btnPageAction" runat="server" ClientIDMode="Static" OnClick="PageAction" /></div>

</asp:Content>
